package socket.modle;

/**
 * Created by cjx on 2019/8/25
 * 说明：
 */
public interface PlcInterface {

    PlcInterface init(ConnectedCallback callback, int retryCount);

    void connect(Object...params);

    void sendData(String socketKey, byte[] data);

    boolean isConnected();

    void disConnect(Exception e);

    void destroy(String who);
}
